
package com.ruoyi.system.mapper;

import java.math.BigDecimal;
import java.util.List;

import com.ruoyi.system.domain.TRefusalRecords;

/**
 * 拒付Mapper接口
 * 
 * @author ruoyi
 * @date 2024-07-02
 */
public interface TRefusalRecordsMapper 
{
    /**
     * 查询拒付
     * 
     * @param id 拒付主键
     * @return 拒付
     */
    public TRefusalRecords selectTRefusalRecordsById(Long id);

    /**
     * 查询拒付列表
     * 
     * @param tRefusalRecords 拒付
     * @return 拒付集合
     */
    public List<TRefusalRecords> selectTRefusalRecordsList(TRefusalRecords tRefusalRecords);

    /**
     * 新增拒付
     * 
     * @param tRefusalRecords 拒付
     * @return 结果
     */
    public int insertTRefusalRecords(TRefusalRecords tRefusalRecords);

    /**
     * 修改拒付
     * 
     * @param tRefusalRecords 拒付
     * @return 结果
     */
    public int updateTRefusalRecords(TRefusalRecords tRefusalRecords);

    /**
     * 删除拒付
     * 
     * @param id 拒付主键
     * @return 结果
     */
    public int deleteTRefusalRecordsById(Long id);

    /**
     * 批量删除拒付
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTRefusalRecordsByIds(Long[] ids);

    BigDecimal amountByAll(TRefusalRecords tRefusalRecords);

    BigDecimal amountByPerExam(TRefusalRecords tRefusalRecords);

    BigDecimal amountByCamExam(TRefusalRecords tRefusalRecords);
}
